﻿using System;
using System.Collections.Generic;

namespace LanqiQAwebapi.Models
{
    public partial class User
    {
        public User()
        {
            Comments = new HashSet<Comment>();
            FollowFollowedUsers = new HashSet<Follow>();
            FollowUsers = new HashSet<Follow>();
            Qas = new HashSet<Qa>();
            Issue = new HashSet<Issue>();
        }
        //用户id
        public int UserId { get; set; }
        //用户名
        public string? UserName { get; set; }
        //用户账号密码
        public string? Password { get; set; }
        //用户手机号码
        public string? Phone { get; set; }

        public string? AvatarPath { get; set; }
        public int? UserVip { get; set; }

        public virtual ICollection<Comment> Comments { get; set; }
        public virtual ICollection<Follow> FollowFollowedUsers { get; set; }
        public virtual ICollection<Follow> FollowUsers { get; set; }
        public virtual ICollection<Qa> Qas { get; set; }
        public virtual ICollection<Issue> Issue { get; set; }
    }
}
